package day8;

public class Parent {
    protected void test1(){
    }
    public one test2(){
        return null;
    }
}
class Child extends Parent {
    //验证是否是正确的重写规则
    @Override
    protected void test1() {

    }

    @Override
    public two test2(){
        return null;
    }
}


class one{

}

class two extends one {}